public class BitOperator{
	public static void main(String[] args){
		int a = 2 & 3;
		System.out.println(a);
		int b = ~-2;
		System.out.println(b);
		System.out.println(~2);
		System.out.println(2 | 3);
		System.out.println(2 ^ 3);
		System.out.println(~-5);
	}
}
